package com.example.mapper;


import com.example.entity.Article;

import java.util.List;

public interface ArticleMapper {
    boolean addArticle(Article article);

    List<Article> listByUser();

    List<Article> searchByTitle(String articleTitle);

    boolean update(Article article);

    Article getArtileById(Integer articleId);

    List<Article> listAll();

    boolean delete(Article article);
}
